package com.ljt;

import java.util.Date;

/**
 * @description:
 * @author: 28437
 * @date: Created in 2020/5/19 0:44
 * @version: 1.0
 * @modified By:
 */
public abstract class Transport {
    private String ownership;
    private String GPSPosition;
    private String price;
    private Date dateOfPurchase;
    private String id;
    public abstract void drivingMethod();
    public abstract void load();
    public abstract void maintian();
    public abstract void addGas();

    public Transport() {
    }

    public Transport(String id) {
        this.id = id;
    }
}
